﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class Logistics
    {
        /// <summary>
        /// 物流单号
        /// </summary>
        [Key]
        [Required]
        [StringLength(32)]
        public string? tracking_no { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        [Required]
        [StringLength(32)]

        public string? order_id { get; set; }

        /// <summary>
        /// 当前位置
        /// </summary>
        [Required]
        [StringLength(100)]
        public string? current_location { get; set; }

        /// <summary>
        /// 状态更新时间
        /// </summary>

        public DateTime update_time { get; set; }


    }
}
